package com.ruoyi.workflow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 定期工作管理对象 workflow_mission
 * 
 * @author ruoyi
 * @date 2023-02-13
 */
public class WorkflowMission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String title;

    /** 工作周期 */
    @Excel(name = "工作周期")
    private String period;

    /** 工作描述 */
    @Excel(name = "工作描述")
    private String description;

    /** 开票类型 */
    @Excel(name = "开票类型")
    private Long ticketType;

    /** 提交方式 */
    @Excel(name = "提交方式")
    private Long method;

    /** A角 */
    @Excel(name = "A角")
    private String cornerA;

    /** B角 */
    @Excel(name = "B角")
    private String cornerB;

    /** 班组 */
    @Excel(name = "班组")
    private String classId;

    /** 角色 */
    @Excel(name = "角色")
    private String characterId;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 创建者名称 */
    @Excel(name = "创建者名称")
    private String createName;

    /** 流程实例id */
    @Excel(name = "流程实例id")
    private String instanceId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setTicketType(Long ticketType) 
    {
        this.ticketType = ticketType;
    }

    public Long getTicketType() 
    {
        return ticketType;
    }
    public void setMethod(Long method) 
    {
        this.method = method;
    }

    public Long getMethod() 
    {
        return method;
    }
    public void setCornerA(String cornerA) 
    {
        this.cornerA = cornerA;
    }

    public String getCornerA() 
    {
        return cornerA;
    }
    public void setCornerB(String cornerB) 
    {
        this.cornerB = cornerB;
    }

    public String getCornerB() 
    {
        return cornerB;
    }
    public void setClassId(String classId) 
    {
        this.classId = classId;
    }

    public String getClassId() 
    {
        return classId;
    }
    public void setCharacterId(String characterId) 
    {
        this.characterId = characterId;
    }

    public String getCharacterId() 
    {
        return characterId;
    }

    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setInstanceId(String instanceId) 
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId() 
    {
        return instanceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("period", getPeriod())
            .append("description", getDescription())
            .append("ticketType", getTicketType())
            .append("method", getMethod())
            .append("cornerA", getCornerA())
            .append("cornerB", getCornerB())
            .append("classId", getClassId())
            .append("characterId", getCharacterId())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createName", getCreateName())
            .append("createBy", getCreateBy())
            .append("instanceId", getInstanceId())
            .toString();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
